//
//  YDAOptionalStockModel.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/26.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <Foundation/Foundation.h>

//涨跌颜色
typedef NS_ENUM(NSUInteger, SYAOptionalStockModelPriceColor) {
    Price_Up,
    Price_Down,
    Price_Other,
};


@interface YDAOptionalStockModel : NSObject

/*
 
 "code": "string",
 "favoriteTime": "2017-11-30T03:43:08.303Z",
 "id": 0,
 "lastPrice": 0,
 "name": "string",
 "publisherId": 0,
 "sort": 0,
 "stockId": 0,
 "upDropPrice": 0,价格涨跌
 "upDropSpeed": 0  涨跌幅度
 
 */

@property (nonatomic , copy) NSString *code;
@property (nonatomic , copy) NSString *favoriteTime;
@property (nonatomic , assign) int Id;
@property (nonatomic , copy) NSString *name;
@property (nonatomic , copy) NSString *pinyinAbbr;
@property (nonatomic , copy) NSString *publisherSerialCode;
@property (nonatomic , assign) NSInteger sort;
@property (nonatomic , assign) NSInteger stockId;
@property (nonatomic , copy) NSString *upDropPrice;
@property (nonatomic , copy) NSString *upDropSpeed;
@property (nonatomic , copy) NSString *lastPrice;
@property (nonatomic , copy) NSString *exponentCode;
//辅助属性
//编辑界面是否选择
@property (nonatomic , assign) BOOL editingIsSelected;
//涨跌幅度
@property (nonatomic , copy) NSString *persentUpDown;
@property (nonatomic , assign) SYAOptionalStockModelPriceColor priceColor;
//价格处理
@property (nonatomic , copy) NSString *nowPrice;
//股票所属地
@property (nonatomic , copy) NSString *belongString;




@end
